package com.lab.dao;

import com.lab.pojo.Teacher;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TeacherDao {
    List<Teacher> allTeachers();

    Teacher findTeacherById(Long tid);

    void updateTeacher(Teacher teacher);

    void addTeacher(Teacher teacher);

    void deleteTeacher(Long[] tid);

    Teacher findTeacher(Long tid);
}
